/**
 * vuex入口文件
 */
import Vue from 'vue'
import Vuex from 'vuex'

// 使用插件
Vue.use(Vuex)

// 引入子模块
import profile from '@/store/profile'
import mstite from '@/store/mstite'
import order from '@/store/order'
import account from '@/store/account'
import search from '@/store/search'

// 向外暴露
export default new Vuex.Store({
   modules: { profile, mstite, order, account, search }
})